[INFO] cloning repository https://github.com/Abhishek8394/rust-tut-basics
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Abhishek8394/rust-tut-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbhishek8394%2Frust-tut-basics", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbhishek8394%2Frust-tut-basics'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 62f62d3624994b41db874b52c2e0b11b72057d11
[INFO] checking Abhishek8394/rust-tut-basics against master#cfbc6d4cf1acbac5c025acf8ed68929caa551df3 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbhishek8394%2Frust-tut-basics" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Abhishek8394/rust-tut-basics on toolchain cfbc6d4cf1acbac5c025acf8ed68929caa551df3
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Abhishek8394/rust-tut-basics
[INFO] finished tweaking git repo https://github.com/Abhishek8394/rust-tut-basics
[INFO] tweaked toml for git repo https://github.com/Abhishek8394/rust-tut-basics written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/Abhishek8394/rust-tut-basics already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b34e5797f3b4696d4e8af25746786375b8f6135bcaaf21ad9af0a91f28953964
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b34e5797f3b4696d4e8af25746786375b8f6135bcaaf21ad9af0a91f28953964", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b34e5797f3b4696d4e8af25746786375b8f6135bcaaf21ad9af0a91f28953964", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b34e5797f3b4696d4e8af25746786375b8f6135bcaaf21ad9af0a91f28953964", kill_on_drop: false }`
[INFO] [stdout] b34e5797f3b4696d4e8af25746786375b8f6135bcaaf21ad9af0a91f28953964
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 83ff111271f6a2400b987bfd0e74297dace87b4a5624e2008adf94a86ee80c6d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "83ff111271f6a2400b987bfd0e74297dace87b4a5624e2008adf94a86ee80c6d", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking variables v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::panic_exc::unrecoverable as Unrec`
[INFO] [stdout]    --> src/main.rs:550:7
[INFO] [stdout]     |
[INFO] [stdout] 550 |         use crate::panic_exc::unrecoverable as Unrec;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:680:4
[INFO] [stdout]     |
[INFO] [stdout] 680 |     if(x.len() > y.len()){
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:692:4
[INFO] [stdout]     |
[INFO] [stdout] 692 |     if(x.len() > y.len()){
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:774:5
[INFO] [stdout]     |
[INFO] [stdout] 774 |         if(self.is_reply){
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around `for` iterator expression
[INFO] [stdout]    --> src/main.rs:872:11
[INFO] [stdout]     |
[INFO] [stdout] 872 |     for i in {0..n} {
[INFO] [stdout]     |              ^^^^^^ help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_braces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::panic_exc::unrecoverable as Unrec`
[INFO] [stdout]    --> src/main.rs:550:7
[INFO] [stdout]     |
[INFO] [stdout] 550 |         use crate::panic_exc::unrecoverable as Unrec;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:680:4
[INFO] [stdout]     |
[INFO] [stdout] 680 |     if(x.len() > y.len()){
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:692:4
[INFO] [stdout]     |
[INFO] [stdout] 692 |     if(x.len() > y.len()){
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:774:5
[INFO] [stdout]     |
[INFO] [stdout] 774 |         if(self.is_reply){
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around `for` iterator expression
[INFO] [stdout]    --> src/main.rs:872:11
[INFO] [stdout]     |
[INFO] [stdout] 872 |     for i in {0..n} {
[INFO] [stdout]     |              ^^^^^^ help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_braces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/main.rs:51:6
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let b = [3; 4]; // => b = [3, 3, 3, 3]
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sum`
[INFO] [stdout]   --> src/main.rs:52:6
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let sum = for element in a.iter(){
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_sum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]    --> src/main.rs:249:7
[INFO] [stdout]     |
[INFO] [stdout] 249 |         let hello = hello_return(&s1);
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]    --> src/main.rs:259:7
[INFO] [stdout]     |
[INFO] [stdout] 259 |         let s1 = String::from("range string");
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `home`
[INFO] [stdout]    --> src/main.rs:326:10
[INFO] [stdout]     |
[INFO] [stdout] 326 |         let home = StrictIpAddr::V4(127, 0, 0, 1);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_home`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `homev6`
[INFO] [stdout]    --> src/main.rs:327:10
[INFO] [stdout]     |
[INFO] [stdout] 327 |         let homev6 = StrictIpAddr::V6(String::from("::1"));
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_homev6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nonum`
[INFO] [stdout]    --> src/main.rs:348:7
[INFO] [stdout]     |
[INFO] [stdout] 348 |         let nonum: Option<i32> = Option::None; 
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_nonum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]    --> src/main.rs:392:7
[INFO] [stdout]     |
[INFO] [stdout] 392 |         let v: Vec<i32> = Vec::new();
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/main.rs:468:7
[INFO] [stdout]     |
[INFO] [stdout] 468 |         let s = String::new();
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]    --> src/main.rs:627:8
[INFO] [stdout]     |
[INFO] [stdout] 627 |             let z = String::from("I am number FIVE!");
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:872:6
[INFO] [stdout]     |
[INFO] [stdout] 872 |     for i in {0..n} {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/main.rs:971:17
[INFO] [stdout]     |
[INFO] [stdout] 971 | fn hello_return(s: &str) -> &str{
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/panic_exc.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let f = match f{
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/panic_exc.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let f = File::open("hello.txt").unwrap_or_else(|err| {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/panic_exc.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let f = File::open("hello.txt").unwrap_or_else(|err| {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:247:7
[INFO] [stdout]     |
[INFO] [stdout] 247 |         let mut s1 = String::from("quick brown");
[INFO] [stdout]     |             ----^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:526:7
[INFO] [stdout]     |
[INFO] [stdout] 526 |         let mut scores: HashMap<_, _> = teams.iter().zip(points.iter()).collect();
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `deliberate_panic`
[INFO] [stdout]  --> src/panic_exc.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 |     pub fn deliberate_panic(){
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `accident_panic`
[INFO] [stdout]  --> src/panic_exc.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn accident_panic(){
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `version`
[INFO] [stdout]    --> src/main.rs:653:5
[INFO] [stdout]     |
[INFO] [stdout] 653 |     fn version(&self)->i32{
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `announce_no_lifetime`
[INFO] [stdout]    --> src/main.rs:668:5
[INFO] [stdout]     |
[INFO] [stdout] 668 |     fn announce_no_lifetime(&self, ann: &str) -> &str{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `content`
[INFO] [stdout]    --> src/main.rs:755:2
[INFO] [stdout]     |
[INFO] [stdout] 755 |     content: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `username`
[INFO] [stdout]    --> src/main.rs:761:2
[INFO] [stdout]     |
[INFO] [stdout] 761 |     username: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `NewYork`
[INFO] [stdout]    --> src/main.rs:846:2
[INFO] [stdout]     |
[INFO] [stdout] 846 |     NewYork,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Penny`
[INFO] [stdout]    --> src/main.rs:851:2
[INFO] [stdout]     |
[INFO] [stdout] 851 |     Penny,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Nickel`
[INFO] [stdout]    --> src/main.rs:852:2
[INFO] [stdout]     |
[INFO] [stdout] 852 |     Nickel,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Dime`
[INFO] [stdout]    --> src/main.rs:853:2
[INFO] [stdout]     |
[INFO] [stdout] 853 |     Dime,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `formatted`
[INFO] [stdout]    --> src/main.rs:896:5
[INFO] [stdout]     |
[INFO] [stdout] 896 |     fn formatted(&self){
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `idPrint` should have a snake case name
[INFO] [stdout]    --> src/main.rs:930:5
[INFO] [stdout]     |
[INFO] [stdout] 930 |     fn idPrint(&self){
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `id_print`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getMaxSigninAttempts` should have a snake case name
[INFO] [stdout]    --> src/main.rs:937:5
[INFO] [stdout]     |
[INFO] [stdout] 937 |     fn getMaxSigninAttempts()->u32{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_max_signin_attempts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/main.rs:51:6
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let b = [3; 4]; // => b = [3, 3, 3, 3]
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sum`
[INFO] [stdout]   --> src/main.rs:52:6
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let sum = for element in a.iter(){
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_sum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]    --> src/main.rs:249:7
[INFO] [stdout]     |
[INFO] [stdout] 249 |         let hello = hello_return(&s1);
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]    --> src/main.rs:259:7
[INFO] [stdout]     |
[INFO] [stdout] 259 |         let s1 = String::from("range string");
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `home`
[INFO] [stdout]    --> src/main.rs:326:10
[INFO] [stdout]     |
[INFO] [stdout] 326 |         let home = StrictIpAddr::V4(127, 0, 0, 1);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_home`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `homev6`
[INFO] [stdout]    --> src/main.rs:327:10
[INFO] [stdout]     |
[INFO] [stdout] 327 |         let homev6 = StrictIpAddr::V6(String::from("::1"));
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_homev6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nonum`
[INFO] [stdout]    --> src/main.rs:348:7
[INFO] [stdout]     |
[INFO] [stdout] 348 |         let nonum: Option<i32> = Option::None; 
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_nonum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]    --> src/main.rs:392:7
[INFO] [stdout]     |
[INFO] [stdout] 392 |         let v: Vec<i32> = Vec::new();
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/main.rs:468:7
[INFO] [stdout]     |
[INFO] [stdout] 468 |         let s = String::new();
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]    --> src/main.rs:627:8
[INFO] [stdout]     |
[INFO] [stdout] 627 |             let z = String::from("I am number FIVE!");
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:872:6
[INFO] [stdout]     |
[INFO] [stdout] 872 |     for i in {0..n} {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/main.rs:971:17
[INFO] [stdout]     |
[INFO] [stdout] 971 | fn hello_return(s: &str) -> &str{
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/panic_exc.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let f = match f{
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/panic_exc.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let f = File::open("hello.txt").unwrap_or_else(|err| {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/panic_exc.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let f = File::open("hello.txt").unwrap_or_else(|err| {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 36 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:247:7
[INFO] [stdout]     |
[INFO] [stdout] 247 |         let mut s1 = String::from("quick brown");
[INFO] [stdout]     |             ----^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:526:7
[INFO] [stdout]     |
[INFO] [stdout] 526 |         let mut scores: HashMap<_, _> = teams.iter().zip(points.iter()).collect();
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `deliberate_panic`
[INFO] [stdout]  --> src/panic_exc.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 |     pub fn deliberate_panic(){
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `accident_panic`
[INFO] [stdout]  --> src/panic_exc.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn accident_panic(){
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `version`
[INFO] [stdout]    --> src/main.rs:653:5
[INFO] [stdout]     |
[INFO] [stdout] 653 |     fn version(&self)->i32{
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `announce_no_lifetime`
[INFO] [stdout]    --> src/main.rs:668:5
[INFO] [stdout]     |
[INFO] [stdout] 668 |     fn announce_no_lifetime(&self, ann: &str) -> &str{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `content`
[INFO] [stdout]    --> src/main.rs:755:2
[INFO] [stdout]     |
[INFO] [stdout] 755 |     content: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `username`
[INFO] [stdout]    --> src/main.rs:761:2
[INFO] [stdout]     |
[INFO] [stdout] 761 |     username: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `NewYork`
[INFO] [stdout]    --> src/main.rs:846:2
[INFO] [stdout]     |
[INFO] [stdout] 846 |     NewYork,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Penny`
[INFO] [stdout]    --> src/main.rs:851:2
[INFO] [stdout]     |
[INFO] [stdout] 851 |     Penny,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Nickel`
[INFO] [stdout]    --> src/main.rs:852:2
[INFO] [stdout]     |
[INFO] [stdout] 852 |     Nickel,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Dime`
[INFO] [stdout]    --> src/main.rs:853:2
[INFO] [stdout]     |
[INFO] [stdout] 853 |     Dime,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `formatted`
[INFO] [stdout]    --> src/main.rs:896:5
[INFO] [stdout]     |
[INFO] [stdout] 896 |     fn formatted(&self){
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `idPrint` should have a snake case name
[INFO] [stdout]    --> src/main.rs:930:5
[INFO] [stdout]     |
[INFO] [stdout] 930 |     fn idPrint(&self){
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `id_print`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getMaxSigninAttempts` should have a snake case name
[INFO] [stdout]    --> src/main.rs:937:5
[INFO] [stdout]     |
[INFO] [stdout] 937 |     fn getMaxSigninAttempts()->u32{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_max_signin_attempts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 36 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 19.38s
[INFO] running `Command { std: "docker" "inspect" "83ff111271f6a2400b987bfd0e74297dace87b4a5624e2008adf94a86ee80c6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83ff111271f6a2400b987bfd0e74297dace87b4a5624e2008adf94a86ee80c6d", kill_on_drop: false }`
[INFO] [stdout] 83ff111271f6a2400b987bfd0e74297dace87b4a5624e2008adf94a86ee80c6d
